//
//  JDGoodsTypeModel.swift
//  DragonWallet
//
//  Created by volantPig on 2024/8/8.
//

import UIKit
import HandyJSON

class JDGoodsTypeModel: HandyJSON {

    var logo: String?
    var tariffRate: String?
    var id: String?
    var name: String?
    var pid: String?
    var children: [JDGoodsSecondTypeModel]?
    
//    {"tariffRate":1000,"id":1,"name":"一级分类","pid":0,"children":[{"tariffRate":1000,"id":2,"name":"二级分类","pid":1,"children":[]}]}
    
    required init() { }
}

class JDGoodsSecondTypeModel: HandyJSON {
    
    var tariffRate: String?
    var id: String?
    var name: String?
    var pid: String?
    var children:[Any]?
//    {"tariffRate":1000,"id":2,"name":"二级分类","pid":1,"children":[]}
    
    required init() { }
}
